<?php
namespace Admin\Model;
use Think\Model\ViewModel;
class FoodCategoryModel extends ViewModel{
	public $viewFields = array(
			'FoodCategory'=>array('id'=>'cid','fid','price','unit','title'=>'category','yprice','_type'=>'LEFT'),
			'Food'=>array('food_name','food_image','_on'=>'Food.id=FoodCategory.fid'),
	);
}